import http from "@/utils/http";

// 分页查询币种列表
export function para_tabelList(params) {
  return http.post("/sys-currency/select/Page/currency", params);
}
//  添加兑换汇率
export function para_addCurrency(params) {
  return http.post("/sys-currency/save/currency", params);
}
//  修改仓库信息
export function para_editCurrency(sysCurrencyId, params) {
  return http.post("/sys-currency/edit/Info/" + sysCurrencyId, params);
}
//  查询单条货币信息
export function para_searchCurrency(sysCurrencyId) {
  return http.post("/sys-currency/select/One/" + sysCurrencyId);
}

// -------------------

// 购买运单查询列表

//  查询单条货币信息
export function para_waybillPageList(current, size) {
  return http.post(`/by-waybill-configuration/pageList/${current}/${size}`);
}

//新增
export function para_saveData(params) {
  return http.post(`/by-waybill-configuration/saveData`,params);
}
//修改
export function para_updateData(params) {
  return http.post(`/by-waybill-configuration/updateData`,params);
}
//删除
export function para_deleteData(params) {
  return http.delete(`/by-waybill-configuration/deleteData/${params}`);
}